separator: Remove unnecessary code
authorMatthias Clasen <mclasen@redhat.com>
Wed, 21 Oct 2020 20:35:05 +0000 (16:35 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 21 Oct 2020 23:47:48 +0000 (19:47 -0400)
gtk_widget_update_orientation already sets the
accessible property, no need to do it again.

gtk/gtkseparator.c

index c6b391fe8f2012fc35c77e40213471d6ba74c65a..fe9ac5843765f73ad1e5e5226a4cfeaa14054d2b 100644 (file)
@@ -139,9 +139,6 @@ gtk_separator_init (GtkSeparator *separator)
 
   gtk_widget_update_orientation (GTK_WIDGET (separator),
                                  separator->orientation);
-  gtk_accessible_update_property (GTK_ACCESSIBLE (separator),
-                                  GTK_ACCESSIBLE_PROPERTY_ORIENTATION, separator->orientation,
-                                  -1);
 }
 
 static void